package com.hm.ipay.service;

import com.hm.ipay.domain.result.ResponseData;
import com.hm.ipay.domain.result.ResponseDataList;
import com.hm.ipay.entity.PushRecord;
import com.hm.ipay.entity.UserAccount;

import java.util.List;
import java.util.Map;

public interface UserService {
    Long register(UserAccount userAccount);
    UserAccount login(String tel);
    UserAccount findInvitor(String inviteCode);
    void resetPassword(String mobile, String password);
    int insertMessage(PushRecord record);
    ResponseDataList bgMessageList(Integer limit, Integer offset);
    ResponseDataList messageList(Integer limit, Integer offset);
    ResponseData delMessage(Long id);
    ResponseData getMessage(Long id);
    ResponseData updateMessage(PushRecord record);
    ResponseData setRegistrationId(Long userId, String regId);
}
